473,473 Members | 2,274 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Radio button circle outline color

This is driving me crazy. I'm having trouble with how a simple radio
button is displayed, in a simple html form.

The default has the outline around the radio button shaded gray only
in the top left hand side corner and on a white background it doesn't
show up very well. I've seen multiple examples of radio buttons that
are fully outlined in blue and the little dot is green. How the heck
do I do this??? I've figured out how to change the bg, which does
nothing to the outline around the actual little circle. I've been
searching and searching. Please help.

<input type="radio" name="4_admin_today" value="Yes">

TIA
Jul 20 '05 #1
3 43952


NONYA wrote:
This is driving me crazy. I'm having trouble with how a simple radio
button is displayed, in a simple html form.

The default has the outline around the radio button shaded gray only
in the top left hand side corner and on a white background it doesn't
show up very well. I've seen multiple examples of radio buttons that
are fully outlined in blue and the little dot is green. How the heck
do I do this??? I've figured out how to change the bg, which does
nothing to the outline around the actual little circle. I've been
searching and searching. Please help.


Some browsers allow styling of form controls with CSS but don't expect
consistent results for that, CSS 2 doesn't specify anything about
styling form controls

<style type="text/css">
input.radio {
background-color: lightblue;
color: green;
}
</style>
<form action="">
<input type="radio" class="radio" name="radioName">
<input type="radio" class="radio" name="radioName">
</form>

--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 20 '05 #2
In message <3f********@olaf.komtel.net>, Martin Honnen
<ma*******@yahoo.de> writes


NONYA wrote:
This is driving me crazy. I'm having trouble with how a simple radio
button is displayed, in a simple html form.
The default has the outline around the radio button shaded gray only
in the top left hand side corner and on a white background it doesn't
show up very well. I've seen multiple examples of radio buttons that
are fully outlined in blue and the little dot is green. How the heck
do I do this??? I've figured out how to change the bg, which does
nothing to the outline around the actual little circle. I've been
searching and searching. Please help.


Some browsers allow styling of form controls with CSS but don't expect
consistent results for that, CSS 2 doesn't specify anything about
styling form controls

<style type="text/css">
input.radio {
background-color: lightblue;
color: green;
}
</style>
<form action="">
<input type="radio" class="radio" name="radioName">
<input type="radio" class="radio" name="radioName">
</form>


IE6 ............. background colour is 'lightblue'; colour is 'black'.

regards

--
Jake
Jul 20 '05 #3
In message <3f********@olaf.komtel.net>, Martin Honnen
<ma*******@yahoo.de> writes


NONYA wrote:
This is driving me crazy. I'm having trouble with how a simple radio
button is displayed, in a simple html form.
The default has the outline around the radio button shaded gray only
in the top left hand side corner and on a white background it doesn't
show up very well. I've seen multiple examples of radio buttons that
are fully outlined in blue and the little dot is green. How the heck
do I do this??? I've figured out how to change the bg, which does
nothing to the outline around the actual little circle. I've been
searching and searching. Please help.


Some browsers allow styling of form controls with CSS but don't expect
consistent results for that, CSS 2 doesn't specify anything about
styling form controls

<style type="text/css">
input.radio {
background-color: lightblue;
color: green;
}
</style>
<form action="">
<input type="radio" class="radio" name="radioName">
<input type="radio" class="radio" name="radioName">
</form>

Opera ............. background colour 'lightblue'; colour is green.
NS7 ................background colour 'white'; colour is black.
NS4.7 ..............background colour 'lightblue'; colour is black.

regards.
--
Jake
Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Talon | last post by:
Hi all, I am new to Tk, so please bear with me. I need someone better at math than me to help me figure this out. I am drawing multiple arcs on the same circle. All arcs start at 90 and have...
3
by: Larry Bud | last post by:
Not sure if this is the best place to post this, but can I set the internal color of a radio button? Basically the background color inside the circle. TIA!
5
by: joshuaphillips | last post by:
Hi All, I am creating a Kiosk frontend that has tons and tons of radio buttons. (402 to be exact.) Anyhow, because this is a touch screen application, I have added an image to each radio button...
1
by: Leeor Geva | last post by:
did any of you guys notice when adding an onclick javascript to a Radio Button List, it will get fired BEFORE the Dot is set if you click on the Text for that particular Circle. My onlick calls...
6
by: Dominic Godin | last post by:
Hi, I have a some radio buttons on a aspx page that cause a post back. I need to get the checked status in the page_init event handler. However it seems that the checked status is only updated...
7
by: Martijn Mulder | last post by:
How can I put a set of Radio Buttons in a Menu? A bullet list of items where selecting one automatically unselects the others. Thanks
4
by: RC | last post by:
By default the radio button is a hollow circle for unchecked and filled black circle for checked similar for the check box button is a hollow square for unchecked and check symbol for...
2
by: Bob Alston | last post by:
I have an application with several forms. Most forms use radio boxes for Yes/No choices. On a few of these, once one option is selected, the user cannot change the selection without moving to...
4
by: Greg Scharlemann | last post by:
I'm having difficulty getting the radio buttons to align vertically with one another and the header (1 2 3 4 5) at the top. Ideally each radio button will be directly below the one above it and...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.